package com.jzm;

import com.jzm.utils.JwtUtil;

import java.io.IOException;
import java.util.concurrent.TimeUnit;

public class Main {
    public static void main(String[] args) throws IOException, InterruptedException {
        System.out.println(JwtUtil.generateToken("test"));
        TimeUnit.SECONDS.sleep(1);
        System.out.println(JwtUtil.generateToken("test"));
        TimeUnit.SECONDS.sleep(1);
        System.out.println(JwtUtil.generateToken("test"));
        TimeUnit.SECONDS.sleep(1);
        System.out.println(JwtUtil.generateToken("test"));
    }
}